package com.xmy.cultivate.service;

import org.springframework.scheduling.annotation.Async;

import java.text.ParseException;

public interface IOpenSchoolService {


    /**
     * 课程顺延
     * @param yearAndQuarter 被顺延的年份与学期（例：20234）
     * @param plusClassNum 年级是否要增加，1为增加一个年级（例：1）
     * @param nextQuarterNum 顺延到下个学期的id(例：4)
     */
    void courseAuto(Integer yearAndQuarter, Integer plusClassNum, Integer nextQuarterNum,Long studentId);


    @Async("onlineAsync")
    void batchChangeSchool(Long outSchoolId, Long inSchoolId, String subjectsIdStr, String yearClassIdStr, Long adminId) throws ParseException;

    @Async("onlineAsync")
    void studentGradeAddOrderId(Integer yearPart, Integer quarterNum, Integer lessonType);
}
